Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Java Interview Questions

 
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Help:- How would you go about these:

1. How do you make sure your code is efficient?
2. What is the one thing you would change in Java Language if you were given a chance?

Thanks.
 
Marshal
Posts: 74755
336
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This comes up regularly in these fora.
As for efficiency: apart from using proper algorithms, I wouldn't do anything. Read this article by Goetz, and look for "dumb code." Read that.
In my opinion one thing which could have been omitted is the use of "break" or "continue" except after "case."
 
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Campbell Ritchie:
This comes up regularly in these fora.
As for efficiency: apart from using proper algorithms, I wouldn't do anything. Read this article by Goetz, and look for "dumb code." Read that.
In my opinion one thing which could have been omitted is the use of "break" or "continue" except after "case."




Good article
 
Bartender
Posts: 2660
19
Netbeans IDE C++ Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

In my opinion one thing which could have been omitted is the use of "break" or "continue" except after "case."

I still love them.
Regards, Jan
reply
    Bookmark Topic Watch Topic
  • New Topic