Each answer is 3 points Please write the answer at Part I U
Solution
Part 1 :
1. Syntax :
Example :
Renames the file \"computer hope.txt\" to \"computer hope 2.txt\".
2. Syntax
Example
3 . Delete a single file in the current directory
Syntax : rm filename
Delete several files using a wildcard
Syntax : rm file1.*
This will delete files called file1.txt or file1.html and so on
4 . In Terminal go to where the class file is generated after successful compilation and then type following command to run.
Command : java classname (ex : java HellowWorld ) ---No need .java extension for file name
5. rwx means read ,write,execute permissions - 7
-wx means write,execute permissions --3
r-x means read,write permissions --5
Part -III : first constructor A invoked ,but constructor A invokes the constrctor B as first statement because B is extension of A.
Output : yellow
red
blue
