Skip to content

Tutorial Guruji

Online Free Tutorials Guruji Guide & Materials – Solved Questions Answers

  • Home
  • Tutorials
    • Java
    • DBMS
    • Linux
    • for loop
    • Bitcoin Transaction Fees
    • Mathematics Real Analysis
    • Shell Script
    • Bitcoin Core
    • Bitcoin Security
    • Grammar
  • About Us
  • Contact Us
Home ยป immutability

Tag: immutability

Why an object marked as final can be modified and call non-final method in Java?

Android February 15, 2016

I am new to Java and I am from C++ background. I thought final in Java works just like const in C++ but I guess not. Object initiated as const in C++, only can call const methods and cannot change …

Is there a way to Object.freeze() a JavaScript Date?

JavaScript January 20, 2016

According to MDN Object.freeze() documentation: The Object.freeze() method freezes an object: that is, prevents new properties from being added to it; prevents existing properties from being …

How to create Immutable List in java?

Java May 20, 2015

I need to convert mutable list object to immutable list. What is the possible way in java? public void action() { List mutableList = Arrays.asList(new MutableClass(“san”, “UK”,…

Why are Integers immutable in Java?

Java April 1, 2014

I know Integers are immutable in Java. But why it is designed this way? I went through other answers before asking this question: Is Integer Immutable i++ still working for immutable Integer in …

How do I allow immutable classes when the VisibilityModifier checkstyle module is enabled?

Java September 17, 2013

I work with a Java codebase that have strict Checkstyle checks, and it doesn’t like the following immutable value object: public class Foo { public final int bar; public final String baz; …

Skip to footer

Recent Articles

  • Convert Rows as Column Headers
  • how to scrape data on a website with view more with beautifulsoup
  • create a column on a dataframe using several if conditions intervals on python
  • Sending a html code/variable from Flask to HTML
  • Not showing the total number of size in each bar in its graph in Python?

What You Want To Learn?

  • Android
  • AngularJS
  • Bitcoin Core
  • Bitcoin Exchanges
  • Bitcoin Security
  • Bitcoin Transaction Fees
  • Bitcoin Transactions
  • C#
  • C++
  • DBMS
  • for loop
  • Grammar
  • HTML
  • Java
  • JavaScript
  • jQuery
  • Linux
  • Mathematics Real Analysis
  • Node.js
  • PHP
  • Python
  • React JS
  • Shell Script
  • Travel
  • WordPress

Contact Details

Web: tutorialguruji.com
For Advertisement - Contact Us Today.
Tutorial Guruji