-
Notifications
You must be signed in to change notification settings - Fork 1
/
blog39.html
554 lines (510 loc) · 25.8 KB
/
blog39.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
<!DOCTYPE html>
<html lang="pt-br" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml" >
<head>
<title>eXcript</title>
<!-- Using the latest rendering mode for IE -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="google-site-verification" content="Vi7WdSsBR9oK2RjK_6E8OrtAfzA_mVlNrhlDjt7LXZ0" />
<!--<link href="https://plus.google.com/" rel="publisher"> -->
<link rel="canonical" href="http://excript.com">
<meta name="author" content="Claudio Rogerio Carvalho Filho" />
<!-- Open Graph tags -->
<meta property="og:site_name" content="eXcript" />
<meta property="og:type" content="website"/>
<meta property="og:title" content="eXcript"/>
<meta property="og:url" content="http://excript.com"/>
<meta name="og:description" content="" />
<meta property="og:image"
content="http://excript.com/images/logo-excript.png"/>
<link rel="stylesheet" href="http://excript.com/theme/css/asciidoctor-default.css" type="text/css"/>
<!-- Bootstrap -->
<link rel="stylesheet" href="http://excript.com/theme/css/bootstrap.min.css" type="text/css"/>
<link href="http://excript.com/theme/css/font-awesome.min.css" rel="stylesheet">
<link href="http://excript.com/theme/css/pygments/monokai.css" rel="stylesheet">
<link rel="stylesheet" href="http://excript.com/theme/css/style.css" type="text/css"/>
<link href="http://excript.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate"
title="eXcript ATOM Feed"/>
<link href="http://excript.com/feeds/all.rss.xml" type="application/rss+xml" rel="alternate"
title="eXcript RSS Feed"/>
</head>
<body>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="http://excript.com/" class="navbar-brand">
eXcript </a>
</div>
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav">
<li><a href="http://excript.com/tag/blog.html">blog</a></li>
<li><a href="http://excript.com/cursos.html">cursos</a></li>
<li><a href="http://excript.com/pages/about.html">quem somos</a></li>
<li><a href="http://doe.excript.com/">DOE</a></li>
<li><a href="http://excript.com/pages/contato.html">contato</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="http://excript.com/archives.html"><i class="fa fa-th-list"></i><span class="icon-label">Archives</span></a></li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
</div> <!-- /.navbar -->
<!-- Banner -->
<!-- End Banner -->
<div class="container container-content">
<div class="row">
<div class="col-sm-9">
<article>
<h2><a href="http://excript.com/java/introducao-orientacao-objetos-java.html">Introdução a Orientação a Objetos com Java</a></h2>
<div class="summary"><div class="section" id="introducao-a-orientacao-a-objetos">
<h2>INTRODUÇÃO A ORIENTAÇÃO A OBJETOS</h2>
<div class="admonitionblock note data-line" style="margin-top: 1.50em">
<table style="margin: 0">
<tbody>
<tr>
<td class="content" style="border-left: 0">
<div class="paragraph data-line">
<p>c::</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<a class="btn btn-default btn-xs" href="http://excript.com/java/introducao-orientacao-objetos-java.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://excript.com/csharp/modulo-divisao-csharp.html">Módulo da Divisão em C#</a></h2>
<div class="summary">
<div class="admonitionblock note data-line" style="margin-top: 1.50em">
<table style="margin: 0">
<tbody>
<tr>
<td class="content" style="border-left: 0">
<div class="paragraph data-line">
<p> Nesta aula estudaremos o módulo da divisão, ou seja, a parte restante de uma divisão e veremos também, o operador que a linguagem Python tem definido para facilmente obtermos esse valor.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="modulo-da-divisao-ou-operacao-modulo">
<h2>MÓDULO DA DIVISÃO OU OPERAÇÃO MÓDULO</h2>
<p>O <strong>Módulo da Divisão</strong>, também chamado de <strong>Operação Módulo</strong>, é o operador que …</p></div>
<a class="btn btn-default btn-xs" href="http://excript.com/csharp/modulo-divisao-csharp.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://excript.com/python/operadores-logicos-python.html">Operadores Lógicos em Python</a></h2>
<div class="summary">
<div class="admonitionblock note data-line" style="margin-top: 1.50em">
<table style="margin: 0">
<tbody>
<tr>
<td class="content" style="border-left: 0">
<div class="paragraph data-line">
<p> Nesta aula estudaremos os operadores lógicos na linguagem Python. Aprenderemos também a definição de valor lógica, a definição de conjunção, disjunção e de sub-expressões lógicas.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="introducao-aos-operadores-logicos">
<h2>INTRODUÇÃO AOS OPERADORES LÓGICOS</h2>
<p>Os <strong>operadores lógicos</strong> unem expressões lógicas formando assim, uma nova expressão que é composta por 2 ou mais sub-expressões. O resultado …</p></div>
<a class="btn btn-default btn-xs" href="http://excript.com/python/operadores-logicos-python.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://excript.com/java/bloco-instrucao-java-parte2.html">Bloco de Instrução em Java (parte II)</a></h2>
<div class="summary">
<div class="admonitionblock note data-line" style="margin-top: 1.50em">
<table style="margin: 0">
<tbody>
<tr>
<td class="content" style="border-left: 0">
<div class="paragraph data-line">
<p> Nessa segunda aula sobre os blocos de instrução, analisaremos algumas situações interessante e seremos apresentados a algumas problemáticas do seu uso.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<p>Nessa segunda aula sobre blocos de instruções, aprenderemos alguns segredos quanto a utilização dessa que é a estrutura mais utilizada na programação em Java. Da mesma forma, seremos apresentado …</p>
<a class="btn btn-default btn-xs" href="http://excript.com/java/bloco-instrucao-java-parte2.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://excript.com/java/bloco-instrucao-java.html">Bloco de Instrução em Java</a></h2>
<div class="summary">
<div class="admonitionblock note data-line" style="margin-top: 1.50em">
<table style="margin: 0">
<tbody>
<tr>
<td class="content" style="border-left: 0">
<div class="paragraph data-line">
<p> Nesta aula estudaremos os blocos de instrução de código Java. Também aprenderemos as características que definem esta estrutura e o funcionamento do escopo de nomes.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<p>O que é um bloco de instrução? Blocos de instrução são seções de código que serão executados quando invocados ou então, quando um condição for …</p>
<a class="btn btn-default btn-xs" href="http://excript.com/java/bloco-instrucao-java.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://excript.com/java/loooping_for_iii.html">Estrutura de Repetição <tt class="docutils literal">for</tt> em Java (parte III)</a></h2>
<div class="summary">
<div class="admonitionblock note data-line" style="margin-top: 1.50em">
<table style="margin: 0">
<tbody>
<tr>
<td class="content" style="border-left: 0">
<div class="paragraph data-line">
<p> Nesta terceira aula sobre a estrutura de repetição for, analisaremos cada parte do cabeçalho da estrutura e veremos alguma formas diferentes de executar esse laço.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="laco-de-repeticao-for-iii">
<h2>LAÇO DE REPETIÇÃO <cite>FOR</cite> III</h2>
<p>Nessa terceira aula sobre laços de repetição <cite>for</cite>, estudaremos o significa e a razão de cada região do cabeçalho da …</p></div>
<a class="btn btn-default btn-xs" href="http://excript.com/java/loooping_for_iii.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://excript.com/java/loooping_for_ii.html">Estrutura de Repetição <tt class="docutils literal">for</tt> em Java (parte II)</a></h2>
<div class="summary">
<div class="admonitionblock note data-line" style="margin-top: 1.50em">
<table style="margin: 0">
<tbody>
<tr>
<td class="content" style="border-left: 0">
<div class="paragraph data-line">
<p> Nesta segunda aula sobre a instrução for, implementaremos um simples código onde aprofundaremos nosso conhecimento sobre a estrutura de repetição for.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="estrutura-de-repeticao-for-ii">
<h2>ESTRUTURA DE REPETIÇÃO <cite>FOR</cite> II</h2>
<p>Nessa aula damos continuidade a aula anterior onde iniciamos o estudo dos laços de repetição "for". Ainda que a estrutura e sua definição sejam …</p></div>
<a class="btn btn-default btn-xs" href="http://excript.com/java/loooping_for_ii.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://excript.com/java/estrutura-repeticao-for-java.html">Estrutura de Repetição <tt class="docutils literal">for</tt> em Java</a></h2>
<div class="summary">
<div class="admonitionblock note data-line" style="margin-top: 1.50em">
<table style="margin: 0">
<tbody>
<tr>
<td class="content" style="border-left: 0">
<div class="paragraph data-line">
<p> Nesta aula estudaremos a estrutura de repetição for, a estrutura mais utilizadas pelos desenvolveres na construção de laços de repetição que possuem uma quantidade de ciclos pré-definidos.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="iterador-for">
<h2>ITERADOR <cite>FOR</cite></h2>
<p>A estrutura de repetição "for", ou então, laço de repetição, iterador é a estrutura mais utilizada quando precisamos executar diversas vezes …</p></div>
<a class="btn btn-default btn-xs" href="http://excript.com/java/estrutura-repeticao-for-java.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://excript.com/java/estrutura-repeticao-do-while-java-parte2.html">Estrutura de Repetição do-while em Java (parte II)</a></h2>
<div class="summary">
<div class="admonitionblock note data-line" style="margin-top: 1.50em">
<table style="margin: 0">
<tbody>
<tr>
<td class="content" style="border-left: 0">
<div class="paragraph data-line">
<p> Nesta aula continuaremos o estudo da estrutura de repetição do-while, ou seja, faça-enquanto.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="estrutura-do-while">
<h2>ESTRUTURA <cite>DO-WHILE</cite></h2>
<p>Nessa segunda aula de laços de repetição do-while vamos desenvolver outro exemplo de calculadora, agora muito mais fácil e funcional do que havíamos desenvolvido até o momento. Poucos são os programas-exemplos em que conseguimos perceber …</p></div>
<a class="btn btn-default btn-xs" href="http://excript.com/java/estrutura-repeticao-do-while-java-parte2.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://excript.com/linguagem-c/code-block-linguagem-c.html">Code::Block e Desenvolvimento em C</a></h2>
<div class="summary">
<div class="admonitionblock note data-line" style="margin-top: 1.50em">
<table style="margin: 0">
<tbody>
<tr>
<td class="content" style="border-left: 0">
<div class="paragraph data-line">
<p> Nesta aula aprenderemos a baixar e a instalar a IDE Code::Block. Junto com a instalação da IDE, será instalado o compilador e todas as configurações serão feitas automaticamente.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="como-instalar-o-code-block">
<h2>COMO INSTALAR O CODE::BLOCK?</h2>
<p>Nessa aula estudaremos como proceder a instalação da IDE Code::Block. Atualmente, o Code::Block está …</p></div>
<a class="btn btn-default btn-xs" href="http://excript.com/linguagem-c/code-block-linguagem-c.html">more ...</a>
</div>
</article>
<hr/>
<ul class="pagination">
<li class="prev"><a href="http://excript.com/blog38.html">«</a>
</li>
<li class=""><a
href="http://excript.com/blog.html">1</a></li>
<li class=""><a
href="http://excript.com/blog2.html">2</a></li>
<li class=""><a
href="http://excript.com/blog3.html">3</a></li>
<li class=""><a
href="http://excript.com/blog4.html">4</a></li>
<li class=""><a
href="http://excript.com/blog5.html">5</a></li>
<li class=""><a
href="http://excript.com/blog6.html">6</a></li>
<li class=""><a
href="http://excript.com/blog7.html">7</a></li>
<li class=""><a
href="http://excript.com/blog8.html">8</a></li>
<li class=""><a
href="http://excript.com/blog9.html">9</a></li>
<li class=""><a
href="http://excript.com/blog10.html">10</a></li>
<li class=""><a
href="http://excript.com/blog11.html">11</a></li>
<li class=""><a
href="http://excript.com/blog12.html">12</a></li>
<li class=""><a
href="http://excript.com/blog13.html">13</a></li>
<li class=""><a
href="http://excript.com/blog14.html">14</a></li>
<li class=""><a
href="http://excript.com/blog15.html">15</a></li>
<li class=""><a
href="http://excript.com/blog16.html">16</a></li>
<li class=""><a
href="http://excript.com/blog17.html">17</a></li>
<li class=""><a
href="http://excript.com/blog18.html">18</a></li>
<li class=""><a
href="http://excript.com/blog19.html">19</a></li>
<li class=""><a
href="http://excript.com/blog20.html">20</a></li>
<li class=""><a
href="http://excript.com/blog21.html">21</a></li>
<li class=""><a
href="http://excript.com/blog22.html">22</a></li>
<li class=""><a
href="http://excript.com/blog23.html">23</a></li>
<li class=""><a
href="http://excript.com/blog24.html">24</a></li>
<li class=""><a
href="http://excript.com/blog25.html">25</a></li>
<li class=""><a
href="http://excript.com/blog26.html">26</a></li>
<li class=""><a
href="http://excript.com/blog27.html">27</a></li>
<li class=""><a
href="http://excript.com/blog28.html">28</a></li>
<li class=""><a
href="http://excript.com/blog29.html">29</a></li>
<li class=""><a
href="http://excript.com/blog30.html">30</a></li>
<li class=""><a
href="http://excript.com/blog31.html">31</a></li>
<li class=""><a
href="http://excript.com/blog32.html">32</a></li>
<li class=""><a
href="http://excript.com/blog33.html">33</a></li>
<li class=""><a
href="http://excript.com/blog34.html">34</a></li>
<li class=""><a
href="http://excript.com/blog35.html">35</a></li>
<li class=""><a
href="http://excript.com/blog36.html">36</a></li>
<li class=""><a
href="http://excript.com/blog37.html">37</a></li>
<li class=""><a
href="http://excript.com/blog38.html">38</a></li>
<li class="active"><a
href="http://excript.com/blog39.html">39</a></li>
<li class=""><a
href="http://excript.com/blog40.html">40</a></li>
<li class=""><a
href="http://excript.com/blog41.html">41</a></li>
<li class=""><a
href="http://excript.com/blog42.html">42</a></li>
<li class=""><a
href="http://excript.com/blog43.html">43</a></li>
<li class=""><a
href="http://excript.com/blog44.html">44</a></li>
<li class=""><a
href="http://excript.com/blog45.html">45</a></li>
<li class=""><a
href="http://excript.com/blog46.html">46</a></li>
<li class=""><a
href="http://excript.com/blog47.html">47</a></li>
<li class=""><a
href="http://excript.com/blog48.html">48</a></li>
<li class="next"><a
href="http://excript.com/blog40.html">»</a></li>
</ul>
</div>
<div class="col-sm-3" id="sidebar">
<aside>
<section class="well well-sm">
<ul class="list-group list-group-flush">
<li class="li-sidebar">
<div class="fb-page" data-href="https://www.facebook.com/excript/" data-width="200" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/excript/"><a href="https://www.facebook.com/excript/">eXcript</a></blockquote></div></div>
</li>
<li class="li-sidebar">
<script src="https://apis.google.com/js/platform.js"></script>
<script>
function onYtEvent(payload) {
if (payload.eventType == 'subscribe') {
// Add code to handle subscribe event.
} else if (payload.eventType == 'unsubscribe') {
// Add code to handle unsubscribe event.
}
if (window.console) { // for debugging only
window.console.log('YT event: ', payload);
}
}
</script>
<div class="g-ytsubscribe" data-channel="excriptvideo" data-layout="full" data-count="default" data-onytevent="onYtEvent"></div>
</li>
<li class="li-sidebar">
<!-- Posicione esta tag no cabeçalho ou imediatamente antes da tag de fechamento do corpo. -->
<script src="https://apis.google.com/js/platform.js" async defer>{lang: 'pt-BR'}
</script>
<!-- Posicione esta tag onde você deseja que o widget apareça. -->
<div class="g-page" data-width="200" data-href="//plus.google.com/u/0/102371115481264098253" data-rel="publisher"></div>
</li>
</ul>
</section>
</aside>
</div>
</div>
</div>
<footer>
<div class="container">
<div class="row">
<p class="site-info text-center">
</p><div class="container">
<div class="row">
<div class="col-md-6">
<h5>eXcript</h5>
<p>
A eXcript é um projeto de produção audiovisual de conteúdo técnico com foco no autodidatismo.
</p>
</div>
<div class="col-md-3">
<h5>CURSOS</h5>
<ul>
<li><a href="http://excript.com/curso-de-python.html">PYTHON</a></li>
<li><a href="http://excript.com/curso-de-java.html">JAVA</a></li>
<li><a href="http://excript.com/curso-php.html">PHP</a></li>
<li><a href="http://excript.com/curso-cpp.html">C++</a></li>
<li><a href="http://excript.com/curso-c.html">C</a></li>
<li><a href="http://excript.com/curso-de-android.html">ANDROID</a></li>
</ul>
</div>
<div class="col-md-3">
<h5>SOCIAL</h5>
<ul>
<li><a href="http://plus.google.com/+excriptvideo">GOOGLE+</a></li>
<li><a href="http://www.facebook.com/excript">FACEBOOK</a></li>
<li><a href="http://twitter.com/eXcriptBrasil">TWITTER</a></li>
</ul>
</div>
</div>
</div>
<p></p>
</div>
</div>
</footer>
<script src="http://excript.com/theme/js/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="http://excript.com/theme/js/bootstrap.min.js"></script>
<!-- Enable responsive features in IE8 with Respond.js (https://github.com/scottjehl/Respond) -->
<script src="http://excript.com/theme/js/respond.min.js"></script>
<!-- Disqus -->
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'excript'; // required: replace example with your forum shortname
/* * * DON'T EDIT BELOW THIS LINE * * */
(function () {
var s = document.createElement('script');
s.async = true;
s.type = 'text/javascript';
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
<!-- End Disqus Code -->
<!-- Google Analytics -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-72583776-1']);
_gaq.push(['_trackPageview']);
(function () {
var ga = document.createElement('script');
ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
</script>
<!-- End Google Analytics Code -->
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v2.6&appId=1684671528414521";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
</body>
</html>