How to access a method by another method?
<p>I was watching thenewboston Android tutorials and I got lost in this line of code:</p>

<pre><code>getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
</code></pre>

<p>I think <code>getWindow()</code> and <code>setFlags()</code> are a method, but why they can be accessed like that? The one that I always see is <code>ClassObject.Method</code> but this time it's <code>Method.Method</code>.</p>
