Reading Time: 3 minutes How to access private methods of a class.
You can do this by the help of reflections at runtime.
Reading Time: 4 minutes Systems are designed to respond to its users in any case. But, some of the times, due to some reasons system may fail. System failures can cause huge loss to its users as well as also creates some sort of fear into them; and with this fear, users lose trust in the system which definitely affects system’s goodwill and market value. For example, a few Continue Reading
Reading Time: 2 minutes The Scala language provides to ways to implement the collections. One is strict and other is non-strict or lazy. Whenever, the instance of a collections in scala(except for the Streams) is created, it creates the strict version of the collection which means memory is allocated at the same time. A simple example of strict collection is: val list = List(1,2,3,4,5,6,7,8,9,10) list: List[Int] = List(1, 2, Continue Reading
Reading Time: < 1 minute Hello everyone, Knoldus organized a KnolX session on Friday, 07 October 2016. In that session, we had an introductory session on Apache Cassandra. Cassandra is a distributed database which allows us to store data on multiple nodes with multiple replicas in such a way that even if a node goes down, another node can take charge of that node. The slides for the session are as Continue Reading
Reading Time: 2 minutes The Java Native Interface (JNI) is a native programming interface in JDK. It is used to call C/C++ libraries from the libraries written in Java and vice-versa. This is a java API which bridges the gap between C/C++ and Java. Why do we use Java Native Interface(JNI)? JNI calls are used when we already have a library which is written in C/C++ language and we Continue Reading