Skip to main content

Posts

Showing posts from October, 2013

Coming Soon.........JAVA 8

Java 8 may be  the most anticipated version of Java ever . Originally slated for release in September, Java 8 has been delayed until March of next year, supposedly to buy time  to make security fixes aimed mainly at client-side Java (JavaFX/Swing). Since I, like most of you, stopped caring about client-side Java shortly after  Duke finally finished jumping rope , we won't address any of that. Java 8 is trying to "innovate," according to  the Microsoft meaning of the word . This means stealing a lot of things that have typically been handled by other frameworks and languages, then incorporating them into the language or runtime (aka standardization). Ahead of the next release, the Java community is talking about Project Lambda, streams, functional interfaces, and all sorts of other goodies. So let's dive into what's great -- and what we can hate. Streams The changes to collections are driving a lot of the other changes in the language. The main component of making ...

Ideal Use Case for Lambda Expressions

Ideal Use Case for Lambda Expressions Suppose that you are creating a social networking application. You want to create a feature that enables an administrator to perform any kind of action, such as sending a message, on members of the social networking application that satisfy certain criteria. The following table describes this use case in detail: Field Description Name Perform action on selected members Primary Actor Administrator Preconditions Administrator is logged in to the system. Postconditions Action is performed only on members that fit the specified criteria. Main Success Scenario Administrator specifies criteria of members on which to perform a certain action. Administrator specifies an action to perform on those selected members. Administrator selects the  Submit  button. The system finds all members that match the specified criteria. The system performs the specified action on all matching members. Extensions 1a. Administrator has an option to preview those memb...

JAVA INTERVIEW QUESTION PART 1

Dear readers, these  Java Interview Questions  have been designed especially to get you acquainted with the nature of questions you may encounter during your interview for the subject of  Java Programming Language . As per my experience, good interviewers hardly planned to ask any particular question during your interview, normally questions start with some basic concept of the subject and later they continue based on further discussion and what you answer: Q: What do you know about Java? A:  Java is a high-level programming language originally developed by Sun Microsystems and released in 1995. Java runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX. Q: What are the supported platforms by Java Programming Language? A:  Java runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX/Linux like HP-Unix, Sun Solaris, Redhat Linux, Ubuntu, CentOS, etc. Q: List any five features of Java? A:  ...