What is charat java?
No Answer is Posted For this Question
Be the First to Post Answer
Can a class have an interface?
What is the main difference between java platform and other platforms?
What is get () in java?
Can we write a class without main method in java?
What are advantages of exception handling in java?
What are the two ways of implementing multi-threading in java?
Difference between string, string builder, and string buffer?
Can a final variable be null?
Is it possible to write JAVA program without including any of the packages,such as "import java.io.*"; bcoz I instantly wrote a code without "import..." statement and runned the program on command Line & it worked. the code is: class Person { String name; int age; Person(String s,int a) { name = s; age = a; } accept() { System.out.println(name+"Hi!!!!!"); System.out.println(age); } } class Demo { public static void main(Strings args[])throws IOException { String name = args[0]; int age = Integer.parseInt(args[1]); Person p = new Person(name,age); p.accept(); } }
suppose we have an interface & that interface contains five methods. if a class implements that interface then we have to bound that to give tha definition of all five methods in that class. If we declare that class as abstract then can we call only two methods to give the deinition of that method & i don't want to give the definition of all the methods? can it possible
What is sleep method?
What is tree in java?