Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Explain the difference between abstract classes and interfaces in java?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Is it possible to override private or static method in java?

0 Answers  


What does compareto () do in java?

0 Answers  


What method is used to specify a container's layout in java programming?

0 Answers  


How do you get the length of a string in java?

0 Answers  


What are the important features of Java 11 release?

0 Answers  


Is this valid in java ? Can we instantiate interface in java?

0 Answers  


can we write two same methods in outer class and innerclass.

1 Answers   3i Infotech,


Can we declare a class as abstract without having any abstract method?

0 Answers  


Explain about main thread in java?

0 Answers  


Difference between predicate, supplier and consumer ?

0 Answers  


Howmany address lines are required to addressing 1 MB memory?

8 Answers   Beatroot Technologies, CSC, HCL, Hexaware, IBM,


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(); } }

3 Answers  


Categories