Jūs esate


Java 9 features

Java 9 has introduced a couple of nice features. Let's try to use them? :)
1) Factory Methods for Immutable List, Set, Map and Map.Entry
You can easily create an immutable List, Set or Map by using a .of() method like this:

List<String> newList = List.of("a", "b", "c");
Set<String> newSet = Set.of("a", "b", "c");
Map<Integer, String> newMap = Map.of(1, "first", 2, "second", 3, "third");

Very convenient, I must say. On previous versions of Java you had to make a loop or use some other library to achieve the same result.

How to install Java 9?

Today I started playing with Java 9 on my Ubuntu 17.04. So, I thought it might be handy for other to know how to install Java 9 on Ubuntu. Here are the steps:

35% discount on Oracle certification exams!

Today during my casual trip to work by bus I found one very interesting page - Oracle Certification . It says that:

* Bonus Special Offer
Terms and Conditions

This offer is valid until 12/31/2016.

Oracle's OCAJP (1Z0-803) exam passed!

Last week I've passed Oracle Certified Associate, Java SE 7 Programmer(1Z0-803) exam with not a very shining score of 85%. So, I've decided to give some tips & tricks for readers of my blog on how to prepare and pass the exam.

First of all - my impressions about the exam. Exam is tough. The exam asks simple questions (lets say - basics) about Java, but you must know them. For example: Is there a difference between:

Norite laikyti Oracle egzaminus? Ne taip greitai!

Žadu laikyti Oracle egzaminą 1Z0-803. Jau turiu voucher'į (kuponą) egzamino laikymui, šiek tiek pasimokiau (bent jau tikiuosi, kad kažką moku). Ir, kai susiruošiau registruotis egzaminui sužinojau įdomybę.

Subscribe to oracle