java-basics-1007 / java-hello

0 stars 0 forks source link

Assignment #2

Closed nginx500 closed 2 weeks ago

nginx500 commented 2 weeks ago
  1. How to check java version?
  2. With notepad++ Create a class named as Solution. Define a main method inside it and print "welcome". Compile and run it.
  3. Using Intellij: Create a class Student. with field as int id. Define a class BlueprintStudentMain and its main method. Create object for Student and initialize id field only. Print the id field of the object.
nginx500 commented 2 weeks ago

@avnishhero7 finish this assignment before next class.

avnishhero7 commented 2 weeks ago

1.) java -version 2.) Done Solution - Welcome HW 3.) Done