Posts

Showing posts with the label object

What is Bootstrap? Why I Love Bootstrap, and Why You Should Too

Image
Bootstrap is the most popular CSS framework for developing mobile first responsive websites. writing plane CSS is fine but we often use similar chunks of code that we copy and paste from project to project. For most of developers use their own organized base CSS files to use as foundation for their projects. This method works but it is not the best way to get things done specially their are fast and easy ways out there. Specially with rise of mobile and tablet devices, making responsive websites and keep it up with the latest technologies is time consuming and challenging.  To solve all of those challenges we can use CSS frameworks. We now have dozens of CSS frameworks among them bootstrap is the most popular framework out there. This framework is created by former Twitter employees Mark Otto and Jacob Thornton. In simple terms, Bootstrap is a giant collection of reusable code written in HTML, CSS and JavaScript. Its also front-end development framework that enables developer...

Java what is mutable and immutable and Why String is Immutable in Java

Image
Java being one of the most popular object-oriented programming language provides various concepts for crating applications.In Java interviews one of most asked question is that what is mutable and immutable and Why String is Immutable in Java ? This question also asked as  Why String class is made final in Java or simply, Why String is final ? In order to understand this we must have solid understanding of what is string and what is the architecture behind string in java.   What is Mutability? The word mutable means changeable. If an object of a class can be changed this class is called mutable class. In another word you can change/update the values of an a objects without creating a another object then it's mutable. What is Immutability? The word immutable means unchangeable. If and object of a class cannot be changed, then this class is called immutable class. In another word you cannot change or update the values of and object without creating another...